<?php
/**
 * Created by PhpStorm.
 * Author: ls
 * Time: 2023/10/17 11:00
 * Desc: 会员中心-导游
 */
abstract class Contract_Api_Member_Guide {
    use Trait_Api_Image;

    /**
     * 是否是导游
     * @param $mid
     * @return array
     */
    abstract function is_guide($mid): array;

    /**
     * 提交导游验证
     * @param $mid
     * @param $params
     * @return array
     * @throws Exception
     */
    abstract function certify($mid, $params): array;

    /**
     * 导游认证状态
     * @param $mid
     * @return array
     */
    abstract function certify_status($mid): array;

    /**
     * 导游二维码
     * @param $mid
     * @return array
     * @throws Exception
     */
    abstract function get_qrcode($mid): array;

    /**
     * 导游带团记录
     * @param $mid
     * @param $params
     * @return array
     * @throws Exception
     */
    abstract function record($mid, $params): array;

    /**
     * 导游扫码
     * @param $mid
     * @param $params
     * @return array
     * @throws Exception
     */
    abstract function scan_code($mid, $params): array;

    /**
     * 开始接单
     * @param $mid
     * @param $params
     * @return array
     * @throws Exception
     */
    abstract function start_service($mid, $params): array;

    /**
     * 结束接单
     * @param $mid
     * @param $params
     * @return array
     * @throws Exception
     */
    abstract function end_service($mid, $params): array;

}